package com.jvxb.manage.livable.service;

import com.jvxb.manage.livable.vo.ClusterApplyVo;
import com.jvxb.manage.livable.vo.WorkOrderOperateVo;

import java.util.Map;

/**
 * @author jvxb
 * @since 2022-01-07
 */
public interface DbDeployService {

    void checkBeforeApply(ClusterApplyVo clusterApplyVo);

    Long apply(ClusterApplyVo clusterApplyVo);

    void executeOrder(WorkOrderOperateVo operateVo);

    Map getDeployInfoByWorkOrderId(String dbType, Long workOrderId);
}
